function importright(obj) {
	if (beginrandom != 1) {
		var wb; //读取完成的数据
		var rABS = false; //是否将文件读取为二进制字符串
		if (!obj.files) {
			return;
		}
		var f = obj.files[0];
		var reader = new FileReader();
		reader.onload = function(e) {
			var data = e.target.result;
			if (rABS) {
				wb = XLSX.read(btoa(fixdata(data)), { //手动转化
					type: 'base64'
				});
			} else {
				wb = XLSX.read(data, {
					type: 'binary'
				});
			}
			list = XLSX.utils.sheet_to_json(wb.Sheets[wb.SheetNames[0]]);
			rightlist = list;
			$('#randomtable1').remove();
			$('#randomtable2').remove();
			initRighTable();
		};
		if (rABS) {
			reader.readAsArrayBuffer(f);
		} else {
			reader.readAsBinaryString(f);
		}

	} else {
		swal("请结束随机后重试");
	}
}
